package com.kaifamiao.date1110;

import java.util.logging.Logger;

public class Beast extends Animal {
	
	private final Logger logger = Logger.getLogger( this.getClass().getName() );

	public Beast() {
		super( "兽类" );
		logger.info( "Beast()" );
	}
	
	public void eat( String food ) {
		logger.info( "eat(String)" );
		logger.info( this.type + "动物吃" + food );
	}
	
	public void run() {
		logger.info( this.type + "动物大都使用四条腿跑" );
	}

}
